package com.aqiang.lib_core.net.api

import com.zy.core.net.entity.TokenRespEntity
import retrofit2.Call
import retrofit2.http.Field
import retrofit2.http.FormUrlEncoded
import retrofit2.http.POST

interface TokenApi {
    @FormUrlEncoded
    @POST("token")
    fun getToken(
        @Field("grant_type") grant_type:String,
        @Field("username") username:String,
        @Field("password") password:String
    ):Call<TokenRespEntity>
}